//
//  ClassModel.m
//  IpadTestB
//
//  Created by edianzu on 2017/6/28.
//  Copyright © 2017年 ruilai. All rights reserved.
//

#import "ClassModel.h"

@implementation ClassModel
+(instancetype)modelWithDictionary:(NSDictionary *)dict{
    return [[self alloc] initWithDictionary:dict];
}

-(instancetype)initWithDictionary:(NSDictionary *)dict{
    if (self = [super init]) {
        self.ClassType = dict[@"ClassType"];
        self.Count = dict[@"Count"];
        self.CreateTime = dict[@"CreateTime"];
        self.Name = dict[@"Name"];
        self.ServiceUnitId = dict[@"ServiceUnitId"];
        self.Id = dict[@"Id"];
        
        
    }
    return self;
}
@end
